package com.xmall.product.define.request.group;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 请求数据格式：product - group
 */
@Data
public class GroupQueryParams implements Serializable {

    /**
     * 分类ID
     */
    private Long categoryId;

    /**
     * 分类ID
     */
    private List<Long> categoryIds;

    public GroupQueryParams setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
        return this;
    }

    public GroupQueryParams setCategoryIds(List<Long> categoryIds) {
        this.categoryIds = categoryIds;
        return this;
    }
}
